package com.management.location.service;

import org.beetl.sql.core.engine.PageQuery;

import com.jfinal.aop.Enhancer;
import com.management.location.dao.TestLocationDao;

public class TestLocationService
{
	TestLocationDao testLocationDao = Enhancer.enhance(TestLocationDao.class);

	public PageQuery findByPage(PageQuery pageQuery) {
		//pageQuery.setOrderBy("id desc");
		System.out.println(pageQuery);
		return testLocationDao.findByPage("testLocation.sample", pageQuery);
	}
}
